Add Flyouts to a Toolbar
 
 
 
Bottom of the Page

You can use flyouts to group related commands together on a toolbar.

A flyout is a set of commands nested under a single button on a toolbar. Flyout buttons have a black triangle in the lower-right corner. To create a flyout, you can start from scratch, or drag an existing toolbar or drag pull-down menu onto a toolbar. When a pull-down menu is dragged onto a toolbar, a new toolbar is created and a flyout is created in the position that the pull-down menu was dropped onto the toolbar.

The following table shows the properties for the Zoom flyout as they appear in the Properties pane.

Properties for the Zoom flyout on the Standard toolbar

Properties pane item

Description

Example

Name

String that does not appear in the user interface unless the property Use Own Button is set to Yes.

Zoom

Description

Text used to describe the element, does not appear in the user interface.

 

Source Toolbar

A read-only value used to specify which toolbar is being referenced to create the flyout.

TB_ZOOM

Use Own Button

Controls whether the last used toolbar button is set as the current button or not. The possible values are Yes or No.

No

Small Image

ID string of the small-image resource (16 × 16 bitmap). The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the [] button to open the Select Image File dialog box.

RCDATA_16_ZOOM

Large Image

ID string of the large-image resource (32 × 32 bitmap). If the specified bitmap is not 32 × 32, the program scales it to that size. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the [] button to open the Select Image File dialog box

RCDATA_16_ZOOM

WarningDo not change the aliases for a toolbar that is being used as a flyout; otherwise the link between the toolbar and flyout will become broken.
See Also
Procedure
To create a flyout toolbar from scratch
To create a flyout toolbar from another toolbar
To create a flyout toolbar from a pull-down menu
Quick Reference
Commands